package com.cj.mobile.iabp.mvp.model.entity;

import java.util.List;

/**
 * @ProjectName: AptitudeAndroid
 * @Package: com.cj.mobile.iabp.mvp.model.entity
 * @ClassName: ConfirmReceiptGoodsInfo
 * @Description: 确认入库(入库单)/签收货物(交货单) - 商品信息
 * @Author: WLY
 * @CreateDate: 2023/5/9 11:45
 */
public class ConfirmReceiptGoodsInfo {
    public ConfirmReceiptGoodsInfo() {
    }

    public ConfirmReceiptGoodsInfo(String catId, String catName, String productId, String gModel, double totalNum, String unit) {
        this.catId = catId;
        this.catName = catName;
        this.cName = catName;
        this.productId = productId;
        this.gId = productId;
        this.gModel = gModel;
        this.totalNum = totalNum;
        this.unit = unit;

    }

    /**
     * 测试数据
     */
    public ConfirmReceiptGoodsInfo(String catId, String catName, String productId, double totalWeight, double totalCost, double excludingTaxPrice) {
        this.catId = catId;
        this.catName = catName;
        this.cName = catName;
        this.gId = productId;
        this.productId = productId;
        this.totalWeight = totalWeight;
        this.totalCost = totalCost;
        this.excludingTaxPrice = excludingTaxPrice;
    }

    /**
     * 添加一条数据
     */
    public ConfirmReceiptGoodsInfo(String catId, String catName, String productId, String unit, double weighingWeight, double excludingTaxPrice, double excludingTaxCost, double buckleWater, double glass, double taxRate, double taxPrice, double taxCost) {
        this.catId = catId;
        this.catName = catName;
        this.cName = catName;
        this.productId = productId;
        this.unit = unit;
        this.weighingWeight = weighingWeight;
        this.excludingTaxPrice = excludingTaxPrice;
        this.excludingTaxCost = excludingTaxCost;
        this.buckleWater = buckleWater;
        this.glass = glass;
        this.taxRate = taxRate;
        this.taxPrice = taxPrice;
        this.taxCost = taxCost;
    }

    /**
     * 入库单 - 过磅重量
     */
    public ConfirmReceiptGoodsInfo(String catId, String catName, String gId, String unit, double weighingWeight, double excludingTaxPrice, double excludingTaxCost, double buckleWater, double glass, double taxRate, double taxPrice, double taxCost,
                                   String productId, String productName) {
        this.catId = catId;
        this.catName = catName;
        this.cName = catName;
        this.gId = gId;
        this.unit = unit;
        this.weighingWeight = weighingWeight;
        this.excludingTaxPrice = excludingTaxPrice;
        this.excludingTaxCost = excludingTaxCost;
        this.buckleWater = buckleWater;
        this.glass = glass;
        this.taxRate = taxRate;
        this.taxPrice = taxPrice;
        this.taxCost = taxCost;
        this.productId = productId;
        this.productName = productName;
    }

    // 品类id
    private String catId;
    // 品类名称
    private String cName;
    private String catName;
    // 商品id
    private String gId;
    private String productId;
    private String productName;
    // 重量
    private double totalWeight;
    private double weight;
    // 总成本
    private double totalCost;


    // 型号
    private String gModel;
    // 品牌
    private String gBrand;
    // 数量
    private double totalNum;
    // 单位重量
    private double weightUnit;
    // 单位
    private String unit;

    // 订单明细id
    private String orderListId;


    // 过磅重量
    private double weighingWeight = 0.00;
    // 不含税单价
    private double excludingTaxPrice = 0;
    // 不含税总成本
    private double excludingTaxCost = 0.00;
    // 扣水系数
    private double buckleWater = 0;
    // 扣棉/玻璃
    private double glass = 0;
    // 税率
    private double taxRate = 0;
    // 含税单价
    private double taxPrice = 0;
    // 含税总成本
    private double taxCost = 0;

    // 品类类型：pb是铅；fe是钢铁
    private String productCode;

    // 称重过程
    private List<WeighingScanSubmit> weighingList;

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getgId() {
        return gId;
    }

    public void setgId(String gId) {
        this.gId = gId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public List<WeighingScanSubmit> getWeighingList() {
        return weighingList;
    }

    public void setWeighingList(List<WeighingScanSubmit> weighingList) {
        this.weighingList = weighingList;
    }

    public String getOrderListId() {
        return orderListId;
    }

    public void setOrderListId(String orderListId) {
        this.orderListId = orderListId;
    }

    public String getCatId() {
        return catId;
    }

    public void setCatId(String catId) {
        this.catId = catId;
    }

    public String getCatName() {
        return catName;
    }

    public void setCatName(String catName) {
        this.catName = catName;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public double getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(double totalWeight) {
        this.totalWeight = totalWeight;
    }

    public double getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(double totalCost) {
        this.totalCost = totalCost;
    }

    public String getgModel() {
        return gModel;
    }

    public void setgModel(String gModel) {
        this.gModel = gModel;
    }

    public String getgBrand() {
        return gBrand;
    }

    public void setgBrand(String gBrand) {
        this.gBrand = gBrand;
    }

    public double getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(double totalNum) {
        this.totalNum = totalNum;
    }

    public double getWeightUnit() {
        return weightUnit;
    }

    public void setWeightUnit(double weightUnit) {
        this.weightUnit = weightUnit;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getWeighingWeight() {
        return weighingWeight;
    }

    public void setWeighingWeight(double weighingWeight) {
        this.weighingWeight = weighingWeight;
    }

    public double getExcludingTaxPrice() {
        return excludingTaxPrice;
    }

    public void setExcludingTaxPrice(double excludingTaxPrice) {
        this.excludingTaxPrice = excludingTaxPrice;
    }

    public double getExcludingTaxCost() {
        return excludingTaxCost;
    }

    public void setExcludingTaxCost(double excludingTaxCost) {
        this.excludingTaxCost = excludingTaxCost;
    }

    public double getBuckleWater() {
        return buckleWater;
    }

    public void setBuckleWater(double buckleWater) {
        this.buckleWater = buckleWater;
    }

    public double getGlass() {
        return glass;
    }

    public void setGlass(double glass) {
        this.glass = glass;
    }

    public double getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(double taxRate) {
        this.taxRate = taxRate;
    }

    public double getTaxPrice() {
        return taxPrice;
    }

    public void setTaxPrice(double taxPrice) {
        this.taxPrice = taxPrice;
    }

    public double getTaxCost() {
        return taxCost;
    }

    public void setTaxCost(double taxCost) {
        this.taxCost = taxCost;
    }
}
